package com.xinyue.game.utils;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class GameDateUtil {

    /**
     * 返回时间格式：yyyyMMddHHmmss
     */
    public static final DateTimeFormatter YYYYMMDDHHMMSS_PATTERN = DateTimeFormatter.ofPattern("yyyyMMddHHmmss");

    public static String getStandardDate() {
        return LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
    }

}
